/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package trefliq.EJB.sessionbeans;

import javax.ejb.Stateless;
import javax.ejb.LocalBean;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import trefliq.EJB.entities.Credit;

/**
 *
 * @author Adam Gojdas
 */
@Stateless
@LocalBean
public class InitDBDataBean {
    @PersistenceContext(unitName="trefliqPU")
    private EntityManager em;

    public void CreateEntities() {
        Credit instance = new Credit();
//        em.persist(instance);
    }
    
}
